package com.rwaste.kno.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author rzd
 * @since 2021-09-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("kno_popularization")
@ApiModel(value="Popularization对象", description="")
public class Popularization implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    private String userId;

    private String title;

    private String content;


    private Integer type;

    @ApiModelProperty(value = "ͼƬ")
    private String image;

    @ApiModelProperty(value = "状态0是未审核，1是通过审核")
    private Integer state;

    private String videoSourceId;

    @ApiModelProperty(value = "ԭʼ")
    private String videoOriginalName;

    private Integer views;

    private String notpassReason;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date creationTime;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;


}
